package armazenador.ip;

import javax.persistence.*;

public class JPAUtil {
	private static EntityManagerFactory emf;
	
	static {
		emf = Persistence.createEntityManagerFactory("SenaOnline");
	}
	
	public static EntityManager getEntityManager () {
		return emf.createEntityManager();
	}
}